package com.wnxy.sdd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wnxy.sdd.entity.Trainer;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TrainerMapper extends BaseMapper<Trainer> {

    @Select("select * from sdd_trainer where name like #{name}")
    List<Trainer> findByNameLike(String name);
}
